Skip to content

Migrate to SvelteKit 3 - #154

Open
michael wants to merge 12 commits into
mainfrom
sveltekit-3
Open

Migrate to SvelteKit 3#154
michael wants to merge 12 commits into
mainfrom
sveltekit-3

Conversation

@michael

@michael michael commented Jul 26, 2026

Copy link
Copy Markdown
Owner

No description provided.

@vercel

vercel Bot commented Jul 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
editable-website Ready Ready Preview Aug 2, 2026 8:02pm

michael added 2 commits August 2, 2026 22:01
Any domain pointing at the server now redirects to ORIGIN with a 301, so
a
site is reachable at exactly one origin. Only GET and HEAD are
redirected;
mutating requests are left alone, since no UI is served from another
domain
and redirecting across origins would strip the Origin header and fail
CSRF
anyway. Requests addressing the server itself (localhost, 127.0.0.1,
::1) are
exempt so health checks and internal calls keep working, and the
redirect is
off in dev and in no-backend mode.

Not a CSRF measure — the request origin is derived per request from the
forwarded headers, so another domain would authenticate fine on its own.
It
matters because the admin session cookie is host-only, so each domain
would
otherwise carry a separate login, and canonical links and preview images
are
built from ORIGIN.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant